package 笔试;

import java.util.Arrays;
import java.util.Scanner;

public class 法术 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();
        int K = scan.nextInt();
        scan.nextLine();
        int[] a = new int[n];
        for (int i = 0; i < n; i++) {
            a[i] = scan.nextInt();
        }
        Arrays.sort(a);
        int res = 0;
        for (int i = 0; i < n; i++) {
            for (int j = i+1; j < n; j++) {
                if(a[i] * a[j] >= K) {
                    if(a[i] == a[j]) {
                        res ++;
                    } else {
                        res += 2;
                    }
                }
            }
        }
        System.out.println(res);
    }
}
